/* 全局样式 */
:root {
    --black: #000000;
    --dark-gray: #1a1a1a;
    --medium-gray: #333333;
    --light-gray: #666666;
    --very-light-gray: #999999;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif SC', serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

/* 加载动画 */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    position: relative;
    border: 3px solid transparent;
    border-top-color: var(--white);
    border-bottom-color: var(--white);
    animation: rotate 1.5s linear infinite;
}

.loader::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--medium-gray);
    border-bottom-color: var(--medium-gray);
    animation: rotate 2s linear infinite reverse;
}

.loader::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--light-gray);
    border-bottom-color: var(--light-gray);
    animation: rotate 2.5s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    margin-top: 20px;
    font-size: 1.2rem;
    letter-spacing: 3px;
    opacity: 0;
    animation: fadeIn 1.5s forwards 0.5s;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

/* 头部样式 */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-speed) ease;
}

.main-header.scrolled {
    padding: 0.7rem 5%;
    background-color: rgba(0, 0, 0, 0.95);
}

.main-header.scrolled .logo h1 {
    font-size: 1.6rem;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo h1 {
    font-size: 2rem;
    font-weight: normal;
    letter-spacing: 3px;
}

.logo .subtitle {
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--very-light-gray);
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 2rem;
}

.main-nav a {
    font-size: 1rem;
    letter-spacing: 1px;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--white);
    transition: width var(--transition-speed) ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* 主要内容区域 */
main {
    padding-top: 80px;
}

/* 英雄区域 */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: url('https://images.unsplash.com/photo-1586165368502-1bad197a6461?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center;
    background-size: cover;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: normal;
    margin-bottom: 1.5rem;
    letter-spacing: 5px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    letter-spacing: 2px;
    color: var(--very-light-gray);
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    font-size: 1rem;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    color: var(--black);
}

/* 精选作品区域 */
.featured-works {
    padding: 8rem 5%;
    background-color: var(--dark-gray);
}

.featured-works h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 3rem;
    letter-spacing: 3px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.work-item {
    background-color: var(--black);
    padding: 2rem;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.work-item:hover {
    transform: translateY(-10px);
}

.work-image {
    width: 100%;
    height: 300px;
    margin-bottom: 1.5rem;
    background-color: var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.work-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: normal;
}

.work-item p {
    color: var(--very-light-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.work-link {
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-block;
    padding: 0.5rem 0;
    position: relative;
}

.work-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--white);
    transition: width var(--transition-speed) ease;
}

.work-link:hover::after {
    width: 100%;
}

/* 艺术理念区域 */
.art-concept {
    padding: 8rem 5%;
    background-color: var(--black);
    display: flex;
    flex-wrap: wrap;
}

.concept-text {
    flex: 1;
    min-width: 300px;
    padding-right: 4rem;
}

.concept-text h2 {
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 2rem;
    letter-spacing: 3px;
}

.concept-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.concept-text .read-more {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.concept-text .read-more::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--white);
    transition: width var(--transition-speed) ease;
}

.concept-text .read-more:hover::after {
    width: 100%;
}

.concept-visual {
    flex: 1;
    min-width: 300px;
    height: 400px;
    background-color: var(--medium-gray);
    position: relative;
    overflow: hidden;
}

.ink-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 近期活动区域 */
.upcoming-events {
    padding: 8rem 5%;
    background-color: var(--dark-gray);
}

.upcoming-events h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: normal;
    margin-bottom: 3rem;
    letter-spacing: 3px;
}

.events-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.event-item {
    flex: 1;
    min-width: 300px;
    background-color: var(--black);
    padding: 2rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.event-date {
    text-align: center;
    margin-right: 2rem;
}

.event-date .month {
    font-size: 1rem;
    display: block;
    color: var(--very-light-gray);
}

.event-date .day {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
}

.event-details h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: normal;
}

.event-details p {
    margin-bottom: 1rem;
    color: var(--very-light-gray);
}

.register-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all var(--transition-speed) ease;
}

.register-btn:hover {
    background-color: var(--white);
    color: var(--black);
}

/* 页脚样式 */
.main-footer {
    background-color: var(--black);
    padding: 4rem 5% 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo, .footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-logo h2 {
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    font-size: 0.9rem;
    color: var(--very-light-gray);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
    letter-spacing: 1px;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--dark-gray);
    transition: all var(--transition-speed) ease;
}

.social-icons a:hover {
    background-color: var(--white);
    color: var(--black);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
    text-align: center;
    font-size: 0.9rem;
    color: var(--very-light-gray);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-header {
        padding: 1rem;
    }
    
    .main-nav ul {
        display: none;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .featured-works, .art-concept, .upcoming-events {
        padding: 5rem 5%;
    }
    
    .concept-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .event-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .event-date {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* 水墨效果 */
.ink-effect {
    position: relative;
}

.ink-effect::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('');
    opacity: 0.1;
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* 文字下划线动画 */
.has-underline {
    position: relative;
}

.has-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--white);
    transition: all var(--transition-speed) ease;
}

.has-underline:hover::after {
    width: 100%;
}